  -- Gatewatcher Gyro-Kill --
function spell0_19218(pUnit, Event) --@Saw Blade,n/a--
pUnit:FullCastSpellOnTarget(35318,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19218', 8000, 1)
end
function spell1_19218(pUnit, Event) --@Saw Blade,n/a--
pUnit:FullCastSpellOnTarget(39192,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19218', 8000, 1)
end
function spell2_19218(pUnit, Event) --@Shadow Power,n/a--
pUnit:FullCastSpellOnTarget(35322,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19218', 17000, 1)
end
function spell3_19218(pUnit, Event) --@Shadow Power,n/a--
pUnit:FullCastSpellOnTarget(39193,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19218', 17000, 1)
end
function Sorts_19218(pUnit, Event)
choix_sorts_19218 = math.random(0, 3)
if choix_sorts_19218 == 0 then
pUnit:RegisterEvent('spell0_19218', 1, 1)
end
if choix_sorts_19218 == 1 then
pUnit:RegisterEvent('spell1_19218', 1, 1)
end
if choix_sorts_19218 == 2 then
pUnit:RegisterEvent('spell2_19218', 1, 1)
end
if choix_sorts_19218 == 3 then
pUnit:RegisterEvent('spell3_19218', 1, 1)
end
end
function mob19218_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19218', math.random(1500, 3000), 1)
end
function mob19218_Leave(pUnit, Event)
end
function mob19218_Kill(pUnit, Event)
end
function mob19218_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(19218, 1, 'mob19218_Action')
RegisterUnitEvent(19218, 2, 'mob19218_Leave')
RegisterUnitEvent(19218, 3, 'mob19218_Kill')
RegisterUnitEvent(19218, 4, 'mob19218_Die')
